@extends('home.layout')
@section('css')
  th{
    border:1px solid #f69;
  }
  .white-pink {
    margin-left:auto;
    margin-right:auto;

    max-width: 500px;
    background: #FFF;
    padding: 30px 30px 20px 30px;
    box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    -webkit-box-shadow: rgba(187, 187, 187, 1) 0 0px 20px -1px;
    font: 12px Arial, Helvetica, sans-serif;
    color: #666;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    }
    .white-pink h1 {
    font: 24px "Trebuchet MS", Arial, Helvetica, sans-serif;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom: 1px solid #F5F5F5;
    margin: -10px -30px 10px -30px;
    color: #969696;
    }
    .white-pink h1>span {
    display: block;
    font-size: 11px;
    color: #C4C2C2;
    }
    .white-pink label {
    display: block;
    margin: 0px 0px 5px;
    }
    .white-pink label>span {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #969696;
    }
    .white-pink input[type="text"], .white-pink input[type="email"], .white-pink textarea,.white-pink select{
    color: #555;
    width: 70%;
    padding: 3px 0px 3px 5px;
    margin-top: 2px;
    margin-right: 6px;
    margin-bottom: 16px;
    border: 1px solid #e5e5e5;
    background: #fbfbfb;
    height: 25px;
    line-height:15px;
    outline: 0;
    -webkit-box-shadow: inset 1px 1px 2px rgba(200,200,200,0.2);
    box-shadow: inset 1px 1px 2px rgba(200,200,200,0.2);
    }
    .white-pink textarea{
    height:100px;
    padding: 5px 0px 0px 5px;
    width: 70%;
    }
    .white-pink .button {
    -moz-box-shadow:inset 0px 1px 0px 0px #fbafe3;
    -webkit-box-shadow:inset 0px 1px 0px 0px #fbafe3;
    box-shadow:inset 0px 1px 0px 0px #fbafe3;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ff5bb0), color-stop(1, #ef027d) );
    background:-moz-linear-gradient( center top, #ff5bb0 5%, #ef027d 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bb0', endColorstr='#ef027d');
    background-color:#ff5bb0;
    border-radius:9px;
    -webkit-border-radius:9px;
    -moz-border-border-radius:9px;
    border:1px solid #ee1eb5;
    display:inline-block;
    color:#ffffff;
    font-family:Arial;
    font-size:15px;
    font-weight:bold;
    font-style:normal;
    height: 40px;
    line-height: 30px;
    width:100px;
    text-decoration:none;
    text-align:center;
    text-shadow:1px 1px 0px #c70067;
    }
    .white-pink .button:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ef027d), color-stop(1, #ff5bb0) );
    background:-moz-linear-gradient( center top, #ef027d 5%, #ff5bb0 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ef027d', endColorstr='#ff5bb0');
    background-color:#ef027d;
    }
    .white-pink .button:active {
    position:relative;
    top:1px;
    }
    .white-pink select {
    background: url('down-arrow.png') no-repeat right, -moz-linear-gradient(top, #FBFBFB 0%, #E9E9E9 100%);
    background: url('down-arrow.png') no-repeat right, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FBFBFB), color-stop(100%,#E9E9E9));
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width: 70%;
    line-height: 15px;
    height: 30px;
    }   
@endsection
@section('content')

  <link rel="stylesheet" href="/home/meilishuo/css/indexuinfo.css" />
  <script type="text/javascript" src="./commonfml.js"></script>
<div class="pcenter-area"> 
  <div class="doota_nav"> 
    <ul class="doota_ul"> 
      <li><a class="menu_pcenter active" href="/home/user/userinfo"> 我的基本信息 <em class="little-triangle"></em> <em class="little-triangle-hover"></em> </a></li> 
      <li><a href="/home/user/car" target="_blank"> 我的购物车 <em class="little-triangle"></em> <em class="little-triangle-hover"></em> </a></li> 
      <li><a class="menu_order" href="/home/user/order"> 我的订单 <em class="little-triangle"></em> <em class="little-triangle-hover"></em> </a></li> 
      <li> 
        <a class="disable-a">我的优惠特权</a> 
        <ul> 
          <li><a class="menu_coupon_plat" href="">平台优惠券</a></li> 
          <li><a class="menu_coupon_shop" href="">店铺优惠券</a></li> 
          <li><a class="menu_vip" href="" target="_blank">会员特权</a></li> 
        </ul> 
      </li> 
      <li> 
        <a class="disable-a">退款维权</a> 
        <ul> 
          <li><a class="menu_refund" href="">退款退货</a></li> 
          <li><a class="menu_complain" href="">我的投诉</a></li> 
        </ul>  
      </li> 
      <li> 
        <a class="disable-a">我的小窝</a> 
        <ul> 
          <li><a class="menu_my_like" href="">喜欢宝贝</a></li> 
          <li><a class="menu_store" href="">关注铺子</a></li> 
          <li><a class="menu_footprint" href="">我的足迹</a></li> 
        </ul> 
      </li> 
      <li> 
        <a class="disable-a">个人设置</a> 
        <ul> 
          <li><a class="menu_address" href="">收货地址</a></li> 
          <li><a href="" target="_blank">账号安全</a></li> 
        </ul> 
      </li> 
    </ul>
  </div>                                                               
</div>

<div class="pcenter-content" style="float:left;margin-left:200px;"> 
  
    <div class="white-pink" style="margin-top:40px; margin-top: 0px;">
        <form action="/home/goods/insert" method="post" class="STYLE-NAME" enctype="multipart/form-data">
            {{csrf_field()}}
            <h1>个人中心
            <!-- <span>填写卖家发布商品信息</span> -->
            </h1>
            @if(session('error'))
                    {{session('error')}}
            @endif
            @if (count($errors) > 0)
                @foreach ($errors->all() as $error)
                    <h3 style="color:#f69;">{{ $error }}</h3>
                @endforeach
         
            @endif
            <label>
            <span>商品名称 :</span>
            <input id="name" type="text" name="goodsname" placeholder="请填写商品名称" value="{{old('goodsname')}}"/>
            </label>
            <label>
            <span>商品价格 :</span>
            <input id="name" type="text" name="value" placeholder="请填写商品价格" value="{{old('value')}}" />
            </label>
            <label>
            <span>所属店铺 :</span>
            <input id="name" type="text" name="isshop" placeholder="请填写商品所属店铺" value="{{old('isshop')}}" />
            </label>
            <label>
            <span>商品库存 :</span>
            <input id="name" type="text" name="inventory" placeholder="请填写商品库存" value="{{old('inventory')}}"/>
            </label>
    
            <label>
            <span>商品描述 :</span>
            <textarea id="message" required name="description" placeholder="请填写商品描述" value="{{old('description')}}" style="resize:none"></textarea>
            </label>
            <label>
            <span>商品状态 :</span><select  required name="status">
                    <option value="1">在售</option>
                    <option value="0">下架</option>
            </select>
            </label>
            <label>
            <span>商品logo :</span>
            <input id="name" type="file" name="logo" placeholder="请填写商品logo" />
            </label>
            <label>
            <span>商品种类 :</span><select required name="cid" onchange = "return get_shop()" >
                    <option selected disabled>请选择</option>
                    
                        <option value="" ></option>
                    
            </select>
            </label>
            <label class="abc1">

            </label>
            <label class="abc">

            </label>
            <!-- <div class="abc1"> -->
            <!-- <div class="abc"> -->
            <label>
            <span>&nbsp;</span>
            <input type="submit" class="button" value="提交信息" />&nbsp;&nbsp;&nbsp;<input type="reset" class="button" value="重置信息" />
            </label>
        </form>
    </div>
</div>
@endsection
